package com.ls.service;

import com.ls.entity.Role;
import com.ls.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    //注册接口
    void register(User user);

    User findByUsername(String username);

    User findRolesByUsername(String username);

    Role findPermsByRoleId(int id);
}
